package com.project.mvprxsample.net;


import com.project.mvprxsample.bean.BaseResult;
import com.project.mvprxsample.bean.UserInfo;


import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

public interface BaseApi {

    @FormUrlEncoded
    @POST("userLogin")
    Observable<BaseResult<UserInfo>> login(@Field("userName") String userName, @Field("passWord") String password);

}
